package com.zx.onlineeducation.service.edu.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 课程章节树形结构 视图 实体类
 *
 * @author 郑雪
 * @since 2022-01-14
 */
@Data
@ApiModel(value = "ChapterTreeVO", description = "课程章节树形结构视图对象")
public class ChapterTreeVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("章节ID")
    private String id;

    @ApiModelProperty("章节名称")
    private String title;

    @ApiModelProperty("课程视频集合")
    private List<VideoVO> children;
}
